package cn.com.wangluotongxin.merchants.service;

import cn.com.wangluotongxin.common.pojo.TenantUser;
import cn.com.wangluotongxin.merchants.dto.GoodsColorDto;
import cn.com.wangluotongxin.merchants.form.GoodsColorForm;
import cn.com.wangluotongxin.merchants.model.MerchantsGoodsColor;
import cn.com.wangluotongxin.merchants.vo.GoodsColorVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商户管理-商品管理-颜色 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-06-20
 */
public interface IMerchantsGoodsColorService extends IService<MerchantsGoodsColor> {

    IPage<GoodsColorVo> getPage(GoodsColorDto dto);

    List<GoodsColorVo> getList(String colorName);

    void add(GoodsColorForm form, TenantUser tenantUser);

    void delete(Integer id);

    void enabled(Integer id, Integer isEnabled);
}
